package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.VGuidanceWithCropnameMapper;
import com.ruoyi.system.domain.VGuidanceWithCropname;
import com.ruoyi.system.service.IVGuidanceWithCropnameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class VGuidanceWithCropnameServiceImpl implements IVGuidanceWithCropnameService {

    @Autowired
    private VGuidanceWithCropnameMapper mapper;

    @Override
    public List<VGuidanceWithCropname> selectAll() {
        return mapper.selectAll();
    }

    // ✅ 新增的实现方法
    @Override
    public List<VGuidanceWithCropname> selectList(VGuidanceWithCropname query) {
        return mapper.selectList(query);
    }
}

